package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author mengyb
 * @since 2019-04-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAT_T")
public class GwatT extends PO<GwatT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWATENT", type = IdType.INPUT)
    private String GWATENT;

    private String GWAT001;

    private String GWAT002;

    private String GWAT003;

    private String GWAT004;

    private String GWAT005;

    private String GWAT006;

    private String GWAT007;

    private String GWAT008;

    private String GWAT009;

    private String GWAT010;

    private String GWAT011;

    private String GWATACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWATUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWATGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWATMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWATTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWATDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWATORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWATORIU;



    @Override
    protected Serializable pkVal() {
        return this.GWATENT;
    }

}
